function parse(){
 let javaData='{"uname":"王漂亮","price":"18"}'
 let webObj={}
 javaData=javaData.replace(/{|}|"\s|/g,'')
 let javaDataArr=javaData.split(',')
 javaDataArr.forEach(item=>{
  let temp=item.split(':')
 let key=temp[0]
  let val=temp[1]
 webObj[key]=val
 })
 return webObj
}
function stringify(webObj){
// let webObj={a:1,b:2,c:'你好'}
let arr=[]
for (let key in webObj) {
 let temp=`"${key}":"${webObj[key]}"`
 arr.push(temp)
}
return `{${arr.join(',')}}`
}